package com.bright.ghj.user.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author txf
 * @Date 2022/6/24 15:44
 * @Description
 */
@Getter
@Setter
@Component
public class CasProperties {

    @Value("${app.server.host.url:}")
    private List<String> appServerUrl;

    @Value("${app.login.url:}")
    private String appLoginUrl;

    @Value("${app.logout.url:}")
    private String appLogoutUrl;

    @Value("${app.home.url:}")
    private List<String> appHomeUrl;

    @Value("${cas.server.host:}")
    private List<String> casServerUrl;

    @Value("${cas.server.login_url:}")
    private List<String> casServerLoginUrl;

    @Value("${cas.server.logout_url:}")
    private String casServerLogoutUrl;

    @Value("${cas.server.inner_host:}")
    private String casServerInnerHost;
}
